package com.nari.ncps.screen.dto.excelimport.onecoalval;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 一吨煤社会价值信息表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_onecoalval_social_value")
@Schema(name = "OnecoalvalSocialValue对象", description = "一吨煤社会价值信息表")
public class OnecoalvalSocialValue implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "父级ID（为空表示一级分类）")
    @TableField("parent_id")
    private Integer parentId;

    @Schema(description = "分类：0-产，1-运，2-销，3-储，4-用")
    @TableField("category")
    private Byte category;

    @Schema(description = "社会价值名称")
    @TableField("value_name")
    private String valueName;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @Schema(description = "创建人")
    @TableField("creator")
    private String creator;

    @Schema(description = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @Schema(description = "更新人")
    @TableField("updater")
    private String updater;
}
